//
//  RWBaseView.m
//  Chat
//
//  Created by 任伟 on 16/3/7.
//  Copyright © 2016年 任伟. All rights reserved.
//

#import "RWBaseView.h"

@implementation RWBaseView

-(instancetype)init
{
    self = [super init];
    if (self)
    {
        [self setBackgroundColor:[UIColor clearColor]];
        [self initSubView];
    }
    return self;
}

-(instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self)
    {
        [self setBackgroundColor:[UIColor clearColor]];
        [self initSubView];
    }
    return self;
}

-(instancetype)initWithFrame:(CGRect)frame handler:(id)handler
{
    self = [super initWithFrame:frame];
    if (self)
    {
        _hanlder = handler;
        [self setBackgroundColor:[UIColor clearColor]];
        [self initSubView];
    }
    return self;
}

- (void)initSubView
{
}

@end
